package com.zzx.schoolfellow.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzx.schoolfellow.model.entity.SensitiveWord;

import java.util.List;

public interface SensitiveWordService extends IService<SensitiveWord> {
    public void loadSensitiveWordsToRedis();

    public boolean isSensitive(String text);

    List<SensitiveWord> getAllWords();

}
